package com.distribute.dao;

import com.distribute.entity.TOrderItem;
import com.distribute.entity.TOrderItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TOrderItemMapper {
    /**
     *
     * @mbggenerated
     */
    int countByExample(TOrderItemExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByExample(TOrderItemExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Long orderItemId);

    /**
     *
     * @mbggenerated
     */
    int insert(TOrderItem record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(TOrderItem record);

    /**
     *
     * @mbggenerated
     */
    List<TOrderItem> selectByExample(TOrderItemExample example);

    /**
     *
     * @mbggenerated
     */
    TOrderItem selectByPrimaryKey(Long orderItemId);

    /**
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") TOrderItem record, @Param("example") TOrderItemExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") TOrderItem record, @Param("example") TOrderItemExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(TOrderItem record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(TOrderItem record);
    
    


	void createIfNotExistsTable();

	void truncateTable();


	void delete(Long orderItemId);

	List<TOrderItem> selectAll();

	void dropTable();

	Long insert2(TOrderItem item);

	Long selectUserList();

}